package com.example.libraryManager.service;

import com.example.libraryManager.entity.Books;
import com.example.libraryManager.entity.Borrow;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.libraryManager.entity.User;
import com.example.libraryManager.form.RuleForm;
import com.example.libraryManager.vo.PageVo;
import com.example.libraryManager.vo.ResultVo;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author admin
 * @since 2022-09-02
 */
public interface IBorrowService extends IService<Borrow> {

    ResultVo saveAndCheck(Borrow borrow);

    ResultVo pageList(Integer user);

    ResultVo deleteByBookId(Books books);
}
